package com.prik.observer.order;

import com.prik.observer.order.pojo.Order;

/**
 * 测试类
 *
 * @author: prik
 * @create: 2019-07-25
 **/
public class Test {
    public static void main(String[] args) {

        OrderPaidHandler orderPaidHandler = OrderPaidHandler.getInstance();

        Order order = new Order();
        order.setOrderId(1);
        order.setOrderNo("01012254");

        orderPaidHandler.orderIsPaid(order);
    }
}